import React, { FC, useEffect } from 'react'
import { Outlet } from 'react-router-dom'
import Myfoot from '../../components/myfoot'
import {inject,observer} from "mobx-react"

const Home:FC<any>=({
  uinfo
})=> {
  const {changeInfoAsync,userInfo}=uinfo
  useEffect(()=>{
    // changeInfoAsync()
  },[])
  return (
    <div>
        <Outlet></Outlet>
        <Myfoot></Myfoot>
    </div>
  )
}
export default inject('uinfo')(observer(Home))
